package com._520it.crm.util;

import javax.servlet.http.HttpServletRequest;

/**
 * @描述:
 * @作者:瓜
 * @create 2020/11/4
 */
public class UserContext {
    public final static String USERINSESSION = "USER_IN_SESSION";
    private static ThreadLocal<HttpServletRequest> local=new ThreadLocal<>();

    public static HttpServletRequest get() {
        return local.get();
    }

    public static void set(HttpServletRequest request) {
        local.set(request);
    }
}
